package io.renren.service.xtd;

import io.renren.entity.xtd.DataContractXtdEntityXtd;
import io.renren.service.DataContractXtdService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-06-19 14:28:22
 */
public interface DataContractXtdServiceXtd extends DataContractXtdService{
	
	void deleteAll();
	
	void saveBatchXtd(List<Map<String,Object>> list);
	
	List<DataContractXtdEntityXtd> queryListXtd(Map<String, Object> map);
	
	void deleteXtd(Map<String,Object> map);
	BigDecimal queryAssessmentAchi(Map<String,Object> map);
	BigDecimal queryAssessmentCount(Map<String,Object> map);
	BigDecimal queryAssWithoutLease(Map<String,Object> map);
	List<DataContractXtdEntityXtd> getXtdByIDMonth(Map<String,Object> map);
	//算活动率的分母时，非正常人力判断是否算人力时根据他当月的开单情况判断。
	BigDecimal queryAssessmentCountShould(Map<String,Object> map);
}
